package com.star.service.impl;

import com.star.entry.Benefit;
import com.star.mapper.BenefitMapper;
import com.star.service.BenefitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@SuppressWarnings("all")
@Service
public class BenefitServiceImpl implements BenefitService {

    @Autowired
    private BenefitMapper benefitMapper;
    @Override
    public ArrayList<Benefit> selectByPid(int id) {
        return benefitMapper.selectByPid(id);
    }
}
